package member

import (
	v1 "tdy-backend/app/member/controller/v1"

	"github.com/gin-gonic/gin"
)

type ApiUploaderRouter struct{}

func (o *ApiUploaderRouter) UploaderRouter(Router *gin.RouterGroup) {
	api := v1.UploaderController{}
	r := Router.Group("V1")
	{
		r.POST("/Uploader/Execute", api.Execute)
		r.POST("/Uploader/Add", api.Add)
		r.POST("/Uploader/Delete", api.Delete)
		r.POST("/Uploader/Edit", api.Edit)
		r.GET("/Uploader/ListForPage", api.ListForPage)
	}
}
